package org.springsocial.services;

import java.util.Date;
import java.util.List;
import org.springsocial.domain.Player;
import org.springsource.util.ActiveTweeter;


public interface PlayerService {
	Player getPlayer(Long id);
	List<Player> getAll();
	List<Long> getPlayerIds(ActiveTweeter activeTweeter);
	Player getPlayerWithTweets(Long playerId,ActiveTweeter activeTweeter);
	Player getPlayerWithTweetsFromToDate(Long playerId,Date from, Date to);
	Player getPlayerWithTweetsFromLastDays(Long playerId,int numberOfDays);
	Player getPlayerWithTweetsFromLastMonths(Long playerId, int numberOfMonths);
	Player updatePlayer(Player player);
	Player savePlayer(Player player);
	Player deletePlayer(Player player);
}
